package com.treasure.mall.zbqmallapi.mapstruct;

import com.treasure.mall.biz.entity.embeddable.LiveRoomData;
import com.treasure.mall.biz.entity.live.LiveRoomPO;
import com.treasure.mall.biz.entity.live.LiveSessionPO;
import com.treasure.mall.zbqmallapi.vo.live.LiveRoomDataVO;
import com.treasure.mall.zbqmallapi.vo.live.LiveRoomVO;
import com.treasure.mall.zbqmallapi.vo.live.LiveSessionVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.zbqmallapi.mapstruct
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/13 19:50
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.zbqmallapi.mapstruct Inc. All rights reserved.
 */
@Mapper
public interface LiveRoomMapStruct {

//    LiveRoomMapStruct Instance = Mappers.getMapper(LiveRoomMapStruct.class);

//    @Mappings({
//            @Mapping(target = "liveSession", source = "liveSessionPOS"),
//            @Mapping(target = "merchantId", source = "merchant.merchantId")
//    })
//    LiveRoomVO po2vo(LiveRoomPO po);
//
//    List<LiveRoomVO> pos2vos(List<LiveRoomPO> pos);
//
//    LiveSessionVO po2LiveSessionVo(LiveSessionPO po);
}
